package com.pxx.item.mapper;

import com.pxx.item.pojo.TbBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author Yoo19
* @description 针对表【tb_brand(品牌表，一个品牌下有多个商品（spu），一对多关系)】的数据库操作Mapper
* @createDate 2025-06-23 19:39:44
* @Entity com.pxx.item.pojo.TbBrand
*/
public interface TbBrandMapper extends BaseMapper<TbBrand> {

    void saveCategoryAndBrand(Long cid, Long id);

    void deleteCategoryAndBrand(Long id);

    List<TbBrand> queryBrandByCid(Long cid);
}




